component persistent="true" accessors="true" {
    property name="id" generator="native" ormtype="integer" ; 
    property name="subject" ormtype="string" length="200";
    property name="type" ormtype="integer" default="0"  length="1";
    property name="width" ormtype="integer" default="0"  length="11";
    property name="height" ormtype="integer" default="0"  length="11";
 	property name="ispublish" ormtype="integer" default="0"  length="1";
    property name="seq" ormtype="integer" default="0"  length="11";
    property name="expiry" ormtype="timestamp";
    property name="categoryid" ormtype="integer"  length="11";
    property name="created" ormtype="timestamp";
    property name="edited" ormtype="timestamp";
	property name="materialids" ormtype="string" length="200";
	property name="templateid" ormtype="integer"  length="11";
}